import { AppTabBarList } from './app-tab-bar-list.entity'
import { Entity, PrimaryGeneratedColumn, OneToMany, Column } from 'typeorm'
import { App } from './app.entity'
@Entity()
export class AppTabBar {
  @PrimaryGeneratedColumn()
  id: number

  @OneToMany(type => App, app => app.tabBar)
  app: App

  @Column()
  color: string

  @Column()
  selectedColor: string

  @Column()
  backgroundColor: string

  @Column()
  borderStyle: string

  @Column()
  position: string

  @OneToMany(type => AppTabBarList, tabBarList => tabBarList.tabBar)
  list: AppTabBarList
}
